package com.softstao.guoyu.mvp.presenter;

import com.softstao.guoyu.model.Update;
import com.softstao.guoyu.mvp.interactor.UpdateInteractor;
import com.softstao.guoyu.mvp.viewer.UpdateViewer;

/**
 * Created by vaikus on 2017/8/16.
 */

public class UpdatePresenter extends BasePresenter<UpdateViewer,UpdateInteractor>{
    public void update(){
        interactor.update(o -> viewer.updateResult((Update) o));
    }
}
